package com.mjlf.cloud.feignconsumer.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @auther a123
 * @create 2018-02-27 10:47
 * @desc
 */
@FeignClient("hello-service")
//用户创建Ribbon负载均衡器
public interface HelloService {

    @RequestMapping(value = "/hello")
    String hello(@RequestParam Map<String, String[]> map);
}
